#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
int main()
{
	char a[] = "WHERETHEREISAWILLTHEREISAWAY";
	int  i = 0, j = 0;

		for (i = 0; i < strlen(a)-1; i++)
		{
			for (j = 0; j < strlen(a)-1; j++)
			{
				if (a[j] >a[j + 1])
				{
					char t = a[j];
					a[j] = a[j + 1];
					a[j + 1] = t;
				}
			}
		}
		puts(a);
	return 0;
}